package com.hdoit.ares.web.acc.modelconfig;


import com.hdoit.ares.web.acc.providers.ApplyforTypeProvider;
import com.hdoit.ares.web.acc.providers.TrackTypeProvider;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.DropDownListAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

public class WithdrawApplyforSearchConfig extends ModelMetadataAttributeConfiguration{
	public WithdrawApplyforSearchConfig(){
		 this.setProperty("startDate")
	        .hasAttribute(new DisplayNameAttribute("起始时间"));
	        
	        this.setProperty("endDate")
	        .hasAttribute(new DisplayNameAttribute("终止时间"));
	        
	        this.setProperty("applyforName")
	        .hasAttribute(new DisplayNameAttribute("申请人"));
	        
	        this.setProperty("trackName")
	        .hasAttribute(new DisplayNameAttribute("处理人"));
	        
	        this.setProperty("checkType")
	        .hasAttribute(new DisplayNameAttribute("申请状态"))
	        .hasAttribute(new DropDownListAttribute(new ApplyforTypeProvider("senior")));
	        
	        this.setProperty("trackType")
	        .hasAttribute(new DisplayNameAttribute("处理状态"))
	        .hasAttribute(new DropDownListAttribute(new TrackTypeProvider("senior")));
	}
}
